//
//  KZCourseTestVC.m
//  zhuyuanbao
//
//  Created by Jason T on 15/10/22.
//  Copyright © 2015年 KangZhi. All rights reserved.
//

#import "KZCourseTestVC.h"

@interface KZCourseTestVC ()
@property (weak, nonatomic) IBOutlet UIWebView *webV;

@end

@implementation KZCourseTestVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"当前课程";
    NSString * urlStr = @"http://appapi.kangzhi.com/kzwap/article?id=1410287742";
    
    NSURL *url = [NSURL URLWithString:urlStr];
    
    // 2. 把URL告诉给服务器,请求,
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    
    [self.webV loadRequest:request];}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
